package com.share.common.mbatis.bs;

import java.util.List;

public interface BaseService<T,E> {
	int insertSelective(T t);

	int deleteByPrimaryKey(Object id);

	int updateByPrimaryKeySelective(T t);

	T selectByPrimaryKey(Object id);

	List<T> getList(E e);

	List<T> selectByExample(E e);


	long countByExample(E example);

	int deleteByExample(E example);

	int insert(T record);

	int updateByExampleSelective(T record, E example);

	int updateByExample(T record, E example);

	int updateByPrimaryKey(T record);
}
